package com.ruoyi.factory.staffSafe.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训档案课程记录对象 staffsafe_record
 * 
 * @author ljj
 * @date 2024-04-12
 */
public class StaffsafeRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 员工id */
    @Excel(name = "员工id")
    private String userid;

    /** 员工号 */
    @Excel(name = "员工号")
    private String userCode;

    /** 状态 */
    @Excel(name = "状态")
    private String dr;

    /** 培训时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "培训时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordtime;

    /** 培训内容 */
    @Excel(name = "培训内容")
    private String recordtitle;

    /** 培训方式 */
    @Excel(name = "培训方式")
    private String recordtype;

    /** 课时 */
    @Excel(name = "课时")
    private String classhour;

    /** 成绩 */
    @Excel(name = "成绩")
    private BigDecimal score;

    /** 授课教师 */
    @Excel(name = "授课教师")
    private String teacher;

    /** 培训结果真(合格 不合格) */
    @Excel(name = "培训结果真(合格 不合格)")
    private String recordresult;

    /** 培训结果假(为合格) */
    @Excel(name = "培训结果假(为合格)")
    private String recordresfalse;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setUserCode(String userCode)
    {
        this.userCode = userCode;
    }

    public String getUserCode()
    {
        return userCode;
    }
    public void setDr(String dr)
    {
        this.dr = dr;
    }

    public String getDr()
    {
        return dr;
    }
    public void setRecordtime(Date recordtime) 
    {
        this.recordtime = recordtime;
    }

    public Date getRecordtime() 
    {
        return recordtime;
    }
    public void setRecordtitle(String recordtitle) 
    {
        this.recordtitle = recordtitle;
    }

    public String getRecordtitle() 
    {
        return recordtitle;
    }
    public void setRecordtype(String recordtype) 
    {
        this.recordtype = recordtype;
    }

    public String getRecordtype() 
    {
        return recordtype;
    }
    public void setClasshour(String classhour)
    {
        this.classhour = classhour;
    }

    public String getClasshour()
    {
        return classhour;
    }
    public void setScore(BigDecimal score)
    {
        this.score = score;
    }

    public BigDecimal getScore()
    {
        return score;
    }
    public void setTeacher(String teacher) 
    {
        this.teacher = teacher;
    }

    public String getTeacher() 
    {
        return teacher;
    }
    public void setRecordresult(String recordresult) 
    {
        this.recordresult = recordresult;
    }

    public String getRecordresult() 
    {
        return recordresult;
    }
    public void setRecordresfalse(String recordresfalse) 
    {
        this.recordresfalse = recordresfalse;
    }

    public String getRecordresfalse() 
    {
        return recordresfalse;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserid())
            .append("userCode", getUserCode())
            .append("dr", getDr())
            .append("recordtime", getRecordtime())
            .append("recordtitle", getRecordtitle())
            .append("recordtype", getRecordtype())
            .append("classhour", getClasshour())
            .append("score", getScore())
            .append("teacher", getTeacher())
            .append("recordresult", getRecordresult())
            .append("recordresfalse", getRecordresfalse())
            .toString();
    }
}
